package com.blrs.domain;

import com.blrs.common.annotation.Excel;
import com.blrs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 首页收藏夹对象 index_collection
 * 
 * @author xiaoyang
 * @date 2024-07-31
 */
public class IndexCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 首页信息服务id */
    @Excel(name = "首页信息服务id")
    private Long infoIndexId;

    /** 收藏信息组织机构id */
    @Excel(name = "收藏信息组织机构id")
    private Long orgId;

    /** 收藏信息组织机构名称 */
    @Excel(name = "收藏信息组织机构名称")
    private String orgName;

    /** 收藏信息类型 */
    @Excel(name = "收藏信息类型")
    private String type;

    private Long menuId;

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setInfoIndexId(Long infoIndexId) 
    {
        this.infoIndexId = infoIndexId;
    }

    public Long getInfoIndexId() 
    {
        return infoIndexId;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("infoIndexId", getInfoIndexId())
            .append("orgId", getOrgId())
            .append("orgName", getOrgName())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
